package FileTest;

import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.FileReader;
import java.io.FileWriter;

public class FileTest {
    public static void main(String[] args) throws Exception {
        BufferedReader reader = new BufferedReader(new FileReader("D:\\MP\\天气\\input\\userPhone.txt"));
        BufferedWriter writer = new BufferedWriter(new FileWriter("D:\\MP\\天气\\input\\userPhone"));
        String line;
        while ((line=reader.readLine())!=null){
            String data = line.replace("(","").replace("'","").replace("),","");
            writer.write(data);
            writer.write("\n");
        }
        reader.close();
        writer.close();
    }
}
